//
//  WATFHudCom.h
//  WiFiFaster
//
//  Created by one on 2024/1/4.
//

#import <Foundation/Foundation.h>
#import <MBProgressHUD.h>
NS_ASSUME_NONNULL_BEGIN

@interface WATFHudCom : NSObject<MBProgressHUDDelegate>{
    MBProgressHUD *showMessage;
}

@property (nonatomic,strong)  MBProgressHUD *showMessage;

+ (void)watf_showMessage:(NSString *)message isError:(BOOL)yesOrNo;
+ (void)watf_showMessage:(NSString *)message view:(UIView*)view isError:(BOOL)yesOrNo;
+ (MBProgressHUD *)watf_showProcessMessage:(NSString *)message;
+ (MBProgressHUD *)watf_showProcessMessage:(NSString *)message view:(UIView*)view;

@end
@interface MBProgressHUD (hidden)

- (void)watf_hideAnimation:(BOOL)animation;

@end

NS_ASSUME_NONNULL_END

